import Request from '@/axios/request'

export function getGameGameCategories(params) {
  return Request.get('game/gameCategories', { params })
}

export function createGameGameCategory() {
  return Request.get('game/gameCategories/create')
}

export function storeGameGameCategory(data) {
  return Request.post('game/gameCategories', data)
}

export function updateGameGameCategory(id, data) {
  return Request.put(`game/gameCategories/${id}`, data)
}

export function editGameGameCategory(id) {
  return Request.get(`game/gameCategories/${id}/edit`)
}

export function destroyGameGameCategory(id) {
  return Request.delete(`game/gameCategories/${id}`)
}
